<?php

namespace app\modules\indexapi;

use app\components\oauth2\repositories\AccessTokenRepository;
use app\components\oauth2\repositories\RefreshTokenRepository;
use yii\base\Event;
use yii\web\User;

/**
 * admin module definition class
 */
class Module extends \yii\base\Module
{
    /**
     * @inheritdoc
     */
    public $controllerNamespace = 'app\modules\indexapi\controllers';

    /**
     * @inheritdoc
     */
    public function init()
    {
        parent::init();

        \Yii::$app->user->enableSession = false;
        // custom initialization code goes here
    }
}
